#include "trader.h"

Trader::Trader()
{
    NeedMoney=0;
    Thing=16;
    Information="0";

}
Trader::Trader(int floor)
{
    if(floor==5){
    NeedMoney=50;
    Thing=15;
    Information="Braver,50 Coins for a blue key.";
    }
    else if(floor==6){
    NeedMoney=20;
    Thing=8;
    Information="Braver,50 Coins for 5 yellow keys.";
    }
    else if(floor==1){
    NeedMoney=0;
    Thing=3;
    Information="Braver,I found a piece of attack gem. It will increase your attack for 3 percent.";
    }
    else if(floor==10){
    NeedMoney=0;
    Thing=3;
    Information="Braver,welcome to the end of the Demo game,thank you for playing!";
    }

}
